package com.zhiyou100.video.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.zhiyou100.video.model.Course;
import com.zhiyou100.video.model.Subject;

public interface CourseDao {

	Integer selectCourseConut();

	List<Course> selectCourse(Integer currentpage);


	List<Subject> selectSubject();

	void addCourse(Course course);

	Course selectCourseId(Integer id);

	void deletecourse(Integer did);

	List<Object[]> selectVideo();

	List<Course> selectIndexVideo(DetachedCriteria dc);

	List<Subject> selectvideoindex(DetachedCriteria dc);

	void addViceoState(Integer videoId);

}
